package models

// Xieyi undefined
type Xieyi struct {
	ID      int64  `json:"id" gorm:"id"`
	Name    string `json:"name" gorm:"name"`
	Content string `json:"content" gorm:"content"`
}
type Xieyisql struct {
	ID   int64  `json:"id" gorm:"id"`
	Name string `json:"name" gorm:"name"`
}

// TableName 表名称
func (*Xieyi) TableName() string {
	return "xieyi"
}

// Jieshao undefined
type Jieshao struct {
	ID      int64  `json:"id" gorm:"id"`
	Name    string `json:"name" gorm:"name"`
	Content string `json:"content" gorm:"content"`
}

// TableName 表名称
func (*Jieshao) TableName() string {
	return "jieshao"
}

// Paiming undefined
type Paiming struct {
	ID      int64   `json:"id" gorm:"id"`
	Paiming int64   `json:"paiming" gorm:"paiming"`
	Name    string  `json:"name" gorm:"name"`
	Daibi   float64 `json:"daibi" gorm:"daibi"`
}

// TableName 表名称
func (*Paiming) TableName() string {
	return "paiming"
}

// Paihangjl undefined
type Paihangjl struct {
	ID      int64   `json:"id" gorm:"id"`
	Daytime int64   `json:"daytime" gorm:"daytime"`
	Uid     int64   `json:"uid" gorm:"uid"`
	Paiming int64   `json:"paiming" gorm:"paiming"`
	Daibi   float64 `json:"daibi" gorm:"daibi"` // 获得代币
}

// TableName 表名称
func (*Paihangjl) TableName() string {
	return "paihangjl"
}
